package com.hengtuo.util;

import android.util.Log;

/**
 * Created by Administrator on 2016/5/10.
 */
public class ExceptionApp {

    private static String TAG = "TestTag";
    // 用来判断是否用打印日志
    private  static final boolean DRBUG = true;

    public static void log(String tag, String log){

        if(DRBUG == true){

            if(tag!=null){
                Log.i("tag", "" + log);
            }else{
                Log.i("TAG",""+log);
            }
        }
    }
}
